home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-03 / pbtool2i.zip / PBTOOLS.CMD < prev    next >
OS/2 REXX Batch file  |  1991-06-02  |  11KB  |  181 lines

  1.           SCRNIO.PBU
  2.              Attr        - Calculates a single integer from forground and
  3.                            background
  4.              Back        - Calculates background color from a single
  5.                            integer
  6.              CapsOff     - Toggles Caps Lock key off
  7.              CapsOn      - Toggles Caps Lock key on
  8.              CapStat     - Returns status of Caps Lock key
  9.              CheckKey    - Returns true if key in keyboard buffer
  10.              ClrKBD      - Clears keyboard buffer without removing keys
  11.              CurDisplay  - Returns active display adapter
  12.              CurBot      - Bottom scanline of cursor
  13.              CurTop      - Top scanline of cursor
  14.              Fill        - Fills a box on the screen with a charactor
  15.              Fore        - Calculates forground color from an integer
  16.              GetKey      - Get a single key from KB buffer, wait if no key
  17.                            present
  18.              GetScrn     - Places any portion of the screen into a string
  19.              InsertOff   - Toggles insert status off
  20.              InsertOn    - Toggles insert status on
  21.              InsStat     - Returns status of INS key
  22.              IsAlt       - Returns true if ALT key is depressed
  23.              IsCaps      - Returns true if Caps Lock key is depressed
  24.              IsCtrl      - Returns true if Ctrl key is depressed
  25.              IsInsert    - Returns true if INS key is depressed
  26.              IsLShift    - Returns true if Left Shift key is depressed
  27.              IsMouse     - Returns number of buttons on mouse if installed
  28.              IsNumLock   - Returns true if Num Lock key is depressed
  29.              IsRShift    - Returns true if Right Shift key is depressed
  30.              IsScroll    - Returns true is Scroll Lock key is depressed
  31.              LScroll     - Scroll any portion of the screen to the left
  32.              MaskIn      - Get masked input from user
  33.              MouseKey    - Gets a key from KB, mouse movement detected
  34.              MLocate     - Locate the mouse cursor at any place on screen
  35.              MouseOff    - Turns mouse cursor off
  36.              MouseOn     - Turns mouse cursor on
  37.              MouseStat   - Returns mouse position, and button pressed
  38.              MouseWin    - Define the window for mouse cursor
  39.              NumIn       - Get numeric input from user
  40.              NumOff      - Toggles Num Lock key off
  41.              NumOn       - Toggles Num Lock Key on
  42.              NumStat     - Returns status of Num Lock Key
  43.              PutScrn     - Puts a string created with GetScrn back onto
  44.                            the screen
  45.              ReAttr      - Changes the color of any position on the screen
  46.              ReColor     - Changes all designated attribute bytes to new color
  47.              RScroll     - Scroll any portion of the screen to the right
  48.              ScrollDN    - Scrolls any part of the screen down
  49.              ScrollOff   - Toggles Scroll Lock key off
  50.              ScrollOn    - Toggles Scroll Lock key on
  51.              ScrollStat  - Returns the status of the scroll-lock key
  52.              ScrollUP    - Scrolls any part of the screen up
  53.              SetText     - Sets cursor color from single integer
  54.              StuffKey    - Stuff the KB buffer with up to 16 chars
  55.              TextEd      - Lets user edit the chars within a line
  56.              TextIn      - Gets ASCII input from user with editing options
  57.              VidAddr     - Returns the segment of the video address
  58.              VidMode     - Returns current video mode
  59.  
  60.           TOOL.PBU
  61.              Bin2Dec     - Converts a binary string to a decimal integer
  62.              BitSet      - Returns true if a specified bit is on
  63.              Center      - Centers a string with spaces padded to left and
  64.                            right
  65.              Compress    - Compress a text string at about 3:2 ratio
  66.              Cpu         - Identifies CPU that program is running on
  67.              Date2Int    - Converts a date to a 2 byte integer
  68.              Decrypt     - Decrypt a string using a password
  69.              DelChar     - Delete a charactor within a string at desired
  70.                            location
  71.              DesqView    - Returns true if DesqView/TaskView is active
  72.              Encrypt     - Encrypt a string with a password
  73.              Evaluate    - Evaluate a given expression and return answer
  74.              GetAddr     - Returns segment and offset of a string
  75.              Hex2Dec     - Converts a hexadecimal string to a decimal
  76.                            integer
  77.              InsChar     - Insert a charactor within a string at desired
  78.                            location
  79.              Int2Date    - Converts a 2 byte integer to a valid date
  80.              IsAlpha     - Returns true if a char is alpha
  81.              IsAlphaNum  - Returns true is a char is alpha or numeric
  82.              IsASCII     - Returns true if a char is printable ASCII
  83.              IsNum       - Returns true if a char is numeric
  84.              IsPunc      - Returns true if a char is punctuation
  85.              LPad        - Pad a string to the left with desired char
  86.              LRotate     - Rotates a string to the left one charactor
  87.              MakeInt     - Converts two bytes into an integer
  88.              NumParsCmds - Returns the number of parameters found on the
  89.                            command line
  90.              ParseCmds   - Does the actual parsing of the command line into
  91.                            a specified array
  92.              ResetBit    - Turns a specified bit off within an integer
  93.              Reverse     - Reverses all charactors in a string
  94.              RInstr      - Like INSTR, only searches in reverse
  95.              RPad        - Pad a string to the right with desired char
  96.              RRotate     - Rotates a string to the right one charactor
  97.              SetBit      - Turns a specified bit on within an integer
  98.              ShiftAlpha  - Shifts uppercase alpha chars over chars
  99.              ToggleBit   - Toggles a specified bit on or off
  100.              Trim        - Trims spaces from both ends of a string
  101.              UnCompress  - Uncompresses a compressed string
  102.  
  103.           WINDO.PBU
  104.              AddShadow   - Adds a shadow to current window
  105.              Box         - Draws a box on the screen
  106.              ChangeWin   - Changes the size of the current window
  107.              ClearWin    - Clears the contents of the current window
  108.              CloseWin    - Closes a previously opened window
  109.              GetFrst     - Return the first uppercase letter or number in
  110.                            a string
  111.              InitPBScreen- Initialize all variables for window routines
  112.              Menu        - Displays a menu and returns choice from user
  113.              MoveWin     - Moves the current window in any one of 4
  114.                            directions
  115.              NoShadow    - Removes the shadow form the current window
  116.              OpenWin     - Pops a window on the screen saving whatever is
  117.                            underneath
  118.              PFirst      - Print a string on the screen with the first
  119.                            uppercase letter or number highlighted
  120.              ScrollPrint - Scrolls all the lines in a window up one, and
  121.                            prints a string on the bottom line
  122.              ScrollWin   - Scrolls the text within the current window in
  123.                            one of 4 directions
  124.              Title       - Displays a title in one of 6 positions
  125.              WinColor    - Changes the text color of the current window
  126.              WPrint      - Displays a string within the current window
  127.              WPrintC     - Centers a text string horizontally within
  128.                            current window
  129.              ZoomBox     - Explodes a box on the screen
  130.  
  131.           DOSIO.PBU
  132.              Atrb        - Turns DOS attribute into a printable string
  133.              Attrb       - Turns printable string into a DOS attribute
  134.              CurDrive    - Returns the current logged drive
  135.              DIR2        - Returns the filename, filesize, and date of a spec
  136.              DirCnt      - Counts the number of subdirectories within a
  137.                            directory
  138.              DrvSpace    - Double precision integer containing drive space
  139.                            left
  140.              Exist       - Returns true if file exists
  141.              Expand      - Expands a file to it's full 12 charactors
  142.              FileCount   - Returns the number of files in dir matching
  143.                            specification
  144.              FileDate    - Converts a DOS integer into a valid date
  145.              GetDir      - Returns an array containing all filenames
  146.                            matching spec
  147.              GetDirs     - Returns an array containing all subdirectories
  148.                            within a directory
  149.              GetDosV     - Returns current DOS version number
  150.              GetDrive    - Returns current active drive/partition
  151.              GetRec      - Retrieves a record from a file
  152.              NumRecs     - Returns total number of records within a file
  153.              PutRec      - Put a record into a file
  154.              RecSearch   - Performs a search of a random access file for
  155.                            records based on a boolean pattern
  156.              SetDrive    - Like CHDRIVE, but does not cause an error if
  157.                            drive is invalid
  158.              SizeDir     - Returns the total number of bytes within a
  159.                            directory
  160.              SortDirExt  - Sorts a directory array by extension then name
  161.              VLabel      - Returns the volume label for default drive
  162.  
  163.           EMSIO.PBU
  164.              CloseHandle - Closes a previously allocated EMS Handle
  165.              EMSFree     - Returns the amount of free EMS memory
  166.              EMSHandle   - Allocates the requested pages and returns
  167.                            handle number
  168.              EMSInst     - Returns the amount of EMS installed
  169.              EMSStat     - Returns the status of installed EMS
  170.              EMSVer      - Returns the version number of the EMS driver
  171.              FindHand    - Returns the file handle number for given name
  172.              FreePages   - Returns the number of free pages in EMS
  173.              GetHandName - Returns 8 charactor name of an EMS handle
  174.              Handles     - Returns the number of handles used
  175.              IsEMS       - Returns true if EMS installed
  176.              MapPage     - Maps logical page to Page Frame
  177.              PageFrame   - Returns the address segment of the page frame
  178.              SetHandName - Assign an 8 charactor name of an EMS handle
  179.              UnMapPage   - Unmaps current mapped logical frame
  180.  
  181.